﻿using AutoMapper;
using Sautom.CompositionRoot.AutoMapperConfiguration;
using Sautom.Queries.ReportOptimizedDto;
using Sautom.WcfServer.TransportDto;

namespace Sautom.WcfServer.AutoMapperConfig
{
    //todo T4
    public class ReportService : Base
    {
        #region Overrides of Base

        protected override void Configure()
        {
            ConfigureClient();
        }

        #endregion

        private static void ConfigureClient()
        {
            Mapper.CreateMap<OrderReportDto, OrderReportDtoReport>();
            Mapper.CreateMap<OrderReportDtoReport, OrderReportDto>();
        }
    }
}
